<!-- export step2 -->
<?php $this->render('common/header'); ?>
<div id="wsbox">
	<div class="wrap">
		<h3>Preview and Export leksem list</h3>
		<form action="index.php?cont=export&act=generate" method="post">
			<table width = "100%" id="leks-table">
				<tr>
					<th>
						Name
					</th>
					<th>
						Value
					</th>
				</tr>
				<?php foreach ($prevLeks as $prevLek): ?>
					<tr>
						<td>
							<?php echo $prevLek['name']; ?>
						</td>
						<td>
							<?php echo $prevLek['value']; ?>
						</td>
					</tr>
				<?php endforeach; ?>
			</table>	
		</form>
		<a class="button" href="<?php echo $fileLink; ?>">Get language file NOW</a>
		<a class="button" href="<?php echo $csvFileLink; ?>">Get CSV file NOW</a>
	</div>
</div>
<?php $this->render('common/footer')?>